﻿using System.Collections.Generic;
using UnityEngine;

namespace Super
{
	public static class FWConfig
	{
		/// <summary>
		/// RSA Xml格式的公钥和私钥
		/// </summary>
		#region
		public static string PublicKey_RSAXml = @"<RSAKeyValue><Modulus>imlNivP2+hjnCYxnKV5cL+nUdE1WWWetHLJ2Z4yKjhtutbCrkPdg7Z1mhAMrm9wsyVTZCxyEUY7eYYty1KByaRDWtjGpfQAuv3cUruQRo0C9OFs2uAqb/w+hqGNpexo1CTqkUA/y8Y3vXn4R+T9Q6hVC9eRvUZW28MGCgYaF9uE=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue>";
		public static string PrivateKey_RSAXml = @"<RSAKeyValue><Modulus>imlNivP2+hjnCYxnKV5cL+nUdE1WWWetHLJ2Z4yKjhtutbCrkPdg7Z1mhAMrm9wsyVTZCxyEUY7eYYty1KByaRDWtjGpfQAuv3cUruQRo0C9OFs2uAqb/w+hqGNpexo1CTqkUA/y8Y3vXn4R+T9Q6hVC9eRvUZW28MGCgYaF9uE=</Modulus><Exponent>AQAB</Exponent><P>oxKbtCJcZ6Bde1TethtxnfBMlENp2i5E9kkwdr9ong8adfdB6+i63lpK0Z0druOJkSTIq/At4pl9Uj9JAhg9DQ==</P><Q>2UkLYv9Zb1Eaq/WHcokRDVpfL1bwfDcpMD9wZAUBFcmqqmE5LnY3WxvXE9vva/TlChEtZM73Mh1NLYuU0Hi0JQ==</Q><DP>UZ/q2Auq/SPEJwugPr8V69xwOHZV8aPfWPfhjk7Y6uTcddfB43emsc24TZu7U+MI5OHooEekcBwsIpMS1D2VsQ==</DP><DQ>u5a4YeuaRuR6ZmM/YL69Hg4bhz9Dt7nXsXPTkEZRvYGx+g6d02L0P5A1i0uh1E5FPv+9dP7Jo1ZwvxV2kNTkkQ==</DQ><InverseQ>SWOJnT/XT2HChNrXbdiXLs6EKC04pR/1eWxEorwgr++zdAp+NtHJdD0tQGWb0bYvsehNfehYNhyaVltb6GbcCw==</InverseQ><D>MLIFjvpwDONP/WMBNGO3SUAZ9+TxmTjJhcwfriSa5o4uMAv9AF6YImD7HTzETexzcU3BopAg2VTLVkQqXTYpqdlqRhEObfpLTdh7kYUnSoxppZ79a1Yo0GjB3o2rjWiW03rw7PaNYApHMRN60bGvFboF8sd2NuIXvF3ojtaUQLE=</D></RSAKeyValue>";
		#endregion

		/// <summary>
		/// 单例数据保存的存放路径
		/// {0} 单例manager的类名
		/// </summary>
		public static string singleDataPath = "Assets/FrameWork/Configuration/{0}.txt";
		public static string excelTablePath = "Assets/Scripts/CustomExcelDataClass/{0}.cs";
		public static string excelTableSOPath = "Assets/Configuration/ExcelAllSO/{0}Asset.asset";
		public static string singleManaerPath = "{0}/TemplateManager.cs";
		public static string excelNotePath = "Assets/FrameWork/Configuration/ExcelNoteAsset.asset";
		public static string excelEnumPath = "Assets/Scripts/Box/{0}.cs";

		/// <summary>
		/// 保存数据AA资源的分组
		/// </summary>
		public static string spritAGroup = "Sprite";
		public static string prefabAGroup = "Prefab";
		public static string excelCfgAGroup = "ExcelCfg";
		public static string frameworkAGroup = "FrameWork";
		public static string textAGroup = "Text";

		/// <summary>
		/// 框架用到的图片
		/// </summary>
		public static string editorBthCheck = "Assets/FrameWork/Asset/Texture/Check.png";
		public static string editorAdd = "Assets/FrameWork/Asset/Texture/Add.png";
		public static string editorDelete = "Assets/FrameWork/Asset/Texture/Delete.png";

		/// <summary>
		/// 框架用到的资源
		/// </summary>
		public static string UIRoot = "Assets/FrameWork/Asset/Prefabs/InitRoot/UIRoot.prefab";
		public static string UICamera = "Assets/FrameWork/Asset/Prefabs/InitRoot/UICamera.prefab";
		public static string worldUIRoot = "Assets/FrameWork/Asset/Prefabs/InitRoot/WorldUIRoot.prefab";
		public static string mainCamera = "Assets/FrameWork/Asset/Prefabs/InitRoot/Main Camera.prefab";
		public static string virtualCamera = "Assets/FrameWork/Asset/Prefabs/InitRoot/Virtual Camera.prefab";
		public static string managerBox = "Assets/FrameWork/Asset/Prefabs/InitRoot/ManagerBox.prefab";
		public static string eventSystem = "Assets/FrameWork/Asset/Prefabs/InitRoot/EventSystem.prefab";
		public static string templatePanel = "Assets/FrameWork/Asset/Prefabs/UI/templatePanel.prefab";
		public static string templateWidget = "Assets/FrameWork/Asset/Prefabs/UI/templateWidget.prefab";
		public static string excelLangKeyPath = "Assets/Text/LangKey/ExcelLangKeys.txt";
		public static string customLangKeyPath = "Assets/Text/LangKey/CustomLangKeys.txt";
		public static string langKeysPath = "Assets/Text/LangKey/Keys.txt";
		public static string LangsDirectory = "Assets/Text/Langs";

		/// <summary>
		/// 默认生成预制体和脚本的路径
		/// </summary>
		public static string panelPrefabPath = "Assets/Prefabs/Panel/{0}.prefab";
		public static string widgetPrefabPath = "Assets/Prefabs/Widget/{0}.prefab";
		public static string panelScriptPath = "Assets/Scripts/UI/Panel/{0}.cs";
		public static string widgetScriptPath = "Assets/Scripts/UI/Widget/{0}.cs";

		/// <summary>
		/// 内容模板
		/// </summary>
		public static string templateSingleManager = "Assets/FrameWork/Asset/Text/TemplateSingleManager.txt";
		public static string templateCustomLangKeys = "Assets/FrameWork/Asset/Text/TemplateCustomLangKeys.txt";
		public static string TemplateLangReadMe = "Assets/FrameWork/Asset/Text/LangReadMe.txt";

		/// <summary>
		/// 默认输入设置
		/// </summary>
		public static float btnPressedThreshold = 0.5f;
		public static float btnTapThreshold = 0.2f;
		public static float btnJumpHoldTimeMax = 0.25f;
		public static float planeDistance = 10f;
		public static float bestScreenWidth = 1920f;
		public static float bestScreenHeight = 1080f;

		//颜色列表
		public static List<string> htmlColorList = new List<string>()
		{
			"#EF5350",	//红色
			"#EC407A",	//粉色
			"#AB47BC",	//紫色
			"#7E57C2",	//深紫
			"#26C6DA",	//青色
			"#26A69A",	//蓝绿色
			"#66BB6A",	//绿色
			"#9CCC65",	//淡绿色
			"#D4E157",	//酸橙色
			"#FFEE58",	//黄色
			"#FFCA28",	//琥珀色
			"#FFA726",	//橙色
			"#FF7043",	//深橙色
			"#8D6E63",	//棕褐色
			"#BDBDBD",	//灰色
			"#78909C",	//蓝灰色
			"#42A5F5",	//蓝色
			"#29B6F6",	//淡蓝
			"#5C6BC0",	//靛蓝
		};

		/// <summary>
		/// 默认打字机时间间隔
		/// </summary>
		public static float typerInterval = 0.1f;
		
		public static Vector3 virtualCameraPos = new Vector3(0, 0, -10);
	}

}
